package com.koron.order.maintain.service;

import com.koron.common.core.business.common.service.CommonService;
import com.koron.order.maintain.bean.entity.MaintainItemParamsPo;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (MaintainItemParams)表服务接口
 *
 * @author zhouj
 * @since 2021-09-23 16:00:00
 */
public interface MaintainItemParamsService extends CommonService {

    int insert(SessionFactory factory, MaintainItemParamsPo maintainItemParams);

    int insertBatch(SessionFactory factory, List<MaintainItemParamsPo> maintainItemParams);

    int update(SessionFactory factory, MaintainItemParamsPo maintainItemParams);

    int deleteById(SessionFactory factory, String id);

    int deleteByItemId(SessionFactory factory, String itemId);

    MaintainItemParamsPo queryById(SessionFactory factory, String id);

    List<MaintainItemParamsPo> queryList(SessionFactory factory, MaintainItemParamsPo maintainItemParams);

    int insertOrUpdateBatch(SessionFactory factory, List<MaintainItemParamsPo> itemParamsBeanList);
}
